package com.kinyx.framework.db.sentence.res.demo.select.sql.method;

import org.junit.Test;

import com.kinyx.framework.db.sentence.res.demo.select.SELECT__SUPER;
import com.kinyx.test.entities.impl.DemoEntityR;

public class SELECT_Tester_SQL_from extends SELECT__SUPER {

	@Override
	protected boolean isSQL() { return true; }

	@Test
	public void test1() {
		final String sentence = "SELECT demoEntity.* FROM T_DEMO demoEntity";
		final String str = "SQL: [" + sentence + "], params: []";
		this.test(//
				this.select.from(DemoEntityR.class), //
				sentence, str);
	}

}
